<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>带有复选框的表单</title>
</head>

<body>
    <form name="input" action="/html/html_form_action.asp" method="get">
        I have a bike:
        <input type="checkbox" name="vehicle" value="Bike" checked="checked" />
        <br />
        I have a car:
        <input type="checkbox" name="vehicle" value="Car" />
        <br />
        I have an airplane:
        <input type="checkbox" name="vehicle" value="Airplane" />
        <br /><br />
        <input type="submit" value="Submit" />
    </form>

    <p>如果您点击 "Submit" 按钮，您将把输入传送到名为 html_form_action.asp 的新页面。</p>


</body>

</html>